@charset "utf-8";

$fs:64px;
*{
    padding: 0;
    margin: 0;
    font-size: 0;
}
html{
    font-size: $fs;
    
    
}
@function r($px){
    @return $px/$fs*1rem
    
}
@function p2vh($px){
    @return $px*100/1280px*1vh
    
}
@function p2vw($px){
    @return $px*100/640px*1vw
    
}
.web{
    width: 100vw;
    background:#f5f5f5;
}
.clear{
    clear: both;
}
//顶部logo
.logo-t{
    position: fixed;
    z-index: 1;
   background: #b20000;
   width:100%;
   text-align: center;
}
.logo-logo{
    width: r(264px);
    height:r(39px);
    padding: r(25px) 0;
}
.logo-caidan{
     width: r(42px);
    height: r(42px);
    padding: r(25px) 0;
    float: left;
    display: inline-block;
}
.logo-sousuo{
    width: r(42px);
    height: r(42px);
        padding: r(25px) 0;
    float: right;
        display: inline-block;
}
//白底logo
.logo-m {
    background: white;
    width: 100%;
    padding-top: r(70px);
}
//轮播图
.box{
    width: 100%;
}
.box img{
    width: 100%;
    height: 100%;
}
.text p{
    font-size: r(27px);
    color: #b40303;
    font-weight: bold;
    padding: r(17px);
}
//下划线
.hr{
    border-bottom: r(1px) solid #dbdbdb;
}

//案例
.case{
    margin-top: r(24px);
}
.case-img{
    padding-left: r(14px);
    display: inline-block;
    width: r(185px);
    vertical-align: top;
    
}

.case-img img{
    width: 100%;
    height: 100%;
}

.case-text{
    width: r(388px);
      display: inline-block;
      padding: r(22px) r(21px) 0 r(30px);
}
.case-text p{
    display: inline-block;
    font-size: r(22px);
    color: #4e4c4c;
}
.case-text-p{
    float: right;
}
.case-text span{
    padding-top: r(24px);
    display: block;
    font-size: r(22px);
    color: black;
}











//空白DIV
.kongbai{
    width: 100%;
    padding-bottom: r(96px);
}

//头像
.touxiang img{
    border-radius: 50%;
}
//底部菜单
.return{
    width: 100%;
    position: fixed;
    bottom: 0;
    background: #f5f5f5;
    
}
.return li{
    float: left;
    width: 20%;
    text-align: center;
    display: inline-block;
    position: relative;


}
.return span{
    display: inline-block;
    font-size: r(18px);
    padding-bottom: r(8px);
        
}
.return a{
    color: black;
    
}
.return img{
    display: block;
    margin: r(10px) auto;
    width: r(43px);
    height: r(43px);
}
.return li::after{
    content: "";
    position: absolute;
    width: r(2px);
    height: r(50px);
    background: #e9e9e9;
    right: 0;
    top: r(20px);
    
}
.logo-t i{
    color: white;
}
.youbianhuadong p{
    font-size: r(50px);
    color: black;
}
.youbianhuadong{
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: red;
    transition: all .5s;
    transform:translateX(-100%);
    z-index: 1;
}
.youbiandianji{
    width: 100px;
    height: 100px;
    background: yellow;
}
#youbiandianji:checked+.youbianhuadong {
    transform: translateX(0%);
    z-index: 2;
}
